package com.example.qxfw.qxzs.vo;

import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 预报数据vo
 */
@Data
public class StationYbVo {

    public StationYbVo(){
        fState1 = "多云";				//预报天空状况
        fWindDirection1 = "东北风";		//预报风向
        fState2 = "多云";				//预报天空状况
        fWindDirection2 = "东北风";		//预报风向
        fTemperatureLow = -0.5;		//预报最低气温
        fTemperatureHigh = 6;		//预报最高气温
        fWindSpeedLow = 0;		//预报风速12小时
        fWindSpeedHigh = 0;	    //预报风速24小时
        fWetnessLow = 1;			    //预报12小时相对湿度
        fWetnessHigh = 0;			//预报24小时相对湿度
        fPressure = 0;				//预报平均气压
        fCloudLow = 0;				//预报低云量
        fCloudAll = 0;				//预报平均总云量
        fPrecipitationrate = 0;		//预报降水概率
        fPrecipitation =0;			//预报日降水量
        Date date = new Date();
        SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy");
        this.fColdFront = formatter.format(date);
    }

    public String fState1;				//预报天空状况
    public String fWindDirection1;		//预报风向
    public String fState2;				//预报天空状况
    public String fWindDirection2;		//预报风向
    public double fTemperatureLow;		//预报最低气温
    public double fTemperatureHigh;		//预报最高气温
    public double fWindSpeedLow;		//预报风速12小时
    public double fWindSpeedHigh;	    //预报风速24小时
    public int fWetnessLow;			    //预报12小时相对湿度
    public int fWetnessHigh;			//预报24小时相对湿度
    public int fPressure;				//预报平均气压
    public int fCloudLow;				//预报低云量
    public int fCloudAll;				//预报平均总云量
    public int fPrecipitationrate;		//预报降水概率
    public int fPrecipitation;			//预报日降水量
    public String fColdFront;		//冷锋过境日期
}
